package com.enqualcomm.kids.mvp.heartrate;

import com.enqualcomm.kids.network.socket.response.HeartRateModeQueryResult;
import com.enqualcomm.kids.network.socket.response.HeartRateQueryResult;

import java.util.List;

/**
 * Created by Sunzhigang on 2016/7/19.
 */
public interface IHeartRateHandler {
    /**
     * 获取心率设置成功
     */
    void getHeartRateSttingsSuccess(HeartRateModeQueryResult.Result result);

    /**
     * 更新心率设置成功
     */
    void setHeartRateSttingsSuccess();

    /**
     * 查询心率成功
     */
    void queryHeartRateSuccess(List<HeartRateQueryResult.Result> results);

    void error(int code, String desc);
}
